//
// Created by Deng on 2021/8/15.
//

#include "Teacher.h"
#include <QDebug>
Teacher::Teacher(QObject* parent):Person(parent){
    qDebug() << "Teacher构造函数";
}
Teacher::~Teacher(){
    qDebug() << "Teacher析构函数";
}

void Teacher::talk() {
    //Student::talk();
    qDebug() << "Teacher talk";
}
